<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>메인페이지</title>
</head>
<body>
<h1>회원관리</h1>
<c:choose>
	<c:when test="${sessionScope.login_info == null }">
		<a href='/MemberManagerFC_iBatis_spring_insts/join_form.jsp'>회원가입폼</a><br>
		<a href="/MemberManagerFC_iBatis_spring_insts/login_form.jsp">로그인폼</a><br>
	</c:when>
	<c:otherwise>
		<a href='/MemberManagerFC_iBatis_spring_insts/controller?command=logout'>로그아웃</a><br>
		<a href="/MemberManagerFC_iBatis_spring_insts/controller?command=getMemberInfo">회원정보조회</a><br>
		<a href="/MemberManagerFC_iBatis_spring_insts/controller?command=modifyForm">회원정보 수정</a><br>
		<a href="/MemberManagerFC_iBatis_spring_insts/controller?command=removeMember">회원 탈퇴</a><br>
	</c:otherwise>
</c:choose>
<a href="/MemberManagerFC_iBatis_spring_insts/controller?command=getAllMemberInfo">전체 회원정보 조회</a><br>
<a href="/MemberManagerFC_iBatis_spring_insts/search_form.jsp">검색</a>&nbsp;&nbsp;<br>
<a href="/MemberManagerFC_iBatis_spring_insts/search_form_json.jsp">검색-json</a>&nbsp;&nbsp;
</body>
</html>